package com.ybg.engine.report.sign;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Id;
import javax.persistence.Table;

import com.alibaba.fastjson.JSONObject;

/**
 * 学校点名统计数据 持久化对象</br>
 * 重写toString()方法,返回json字符串{@link SignReportUniversityPo#toString()}
 * 
 * @author lishiwei
 * @data 2017年5月23日
 *
 */
@Entity
@Table(name = "YKT_BR_SIGN_UNIVERSITY")
public class SignReportUniversityPo {

	/* 主键 guid */
	@Id
	private String reportId;

	private String universityCode;

	@Enumerated(value = EnumType.ORDINAL)
	private ReportCycleEnum reportCycle;

	private String schoolYear;

	private String schoolTerm;

	private String reportTime;

	private Double attendanceRate;

	private Long absenceNum;

	private Long usageCourseNum;

	private Long courseNum;

	private Long usageTeacherNum;

	private Long usageStudentNum;

	private Date updateTime;

	public String getReportId() {
		return reportId;
	}

	public void setReportId(String reportId) {
		this.reportId = reportId;
	}

	public String getUniversityCode() {
		return universityCode;
	}

	public void setUniversityCode(String universityCode) {
		this.universityCode = universityCode;
	}

	public ReportCycleEnum getReportCycle() {
		return reportCycle;
	}

	public void setReportCycle(ReportCycleEnum reportCycle) {
		this.reportCycle = reportCycle;
	}

	public String getSchoolYear() {
		return schoolYear;
	}

	public void setSchoolYear(String schoolYear) {
		this.schoolYear = schoolYear;
	}

	public String getSchoolTerm() {
		return schoolTerm;
	}

	public void setSchoolTerm(String schoolTerm) {
		this.schoolTerm = schoolTerm;
	}

	public String getReportTime() {
		return reportTime;
	}

	public void setReportTime(String reportTime) {
		this.reportTime = reportTime;
	}

	public Double getAttendanceRate() {
		return attendanceRate;
	}

	public void setAttendanceRate(Double attendanceRate) {
		this.attendanceRate = attendanceRate;
	}

	public Long getAbsenceNum() {
		return absenceNum;
	}

	public void setAbsenceNum(Long absenceNum) {
		this.absenceNum = absenceNum;
	}

	public Long getUsageCourseNum() {
		return usageCourseNum;
	}

	public void setUsageCourseNum(Long usageCourseNum) {
		this.usageCourseNum = usageCourseNum;
	}

	public Long getCourseNum() {
		return courseNum;
	}

	public void setCourseNum(Long courseNum) {
		this.courseNum = courseNum;
	}

	public Long getUsageTeacherNum() {
		return usageTeacherNum;
	}

	public void setUsageTeacherNum(Long usageTeacherNum) {
		this.usageTeacherNum = usageTeacherNum;
	}

	public Long getUsageStudentNum() {
		return usageStudentNum;
	}

	public void setUsageStudentNum(Long usageStudentNum) {
		this.usageStudentNum = usageStudentNum;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}

}
